package com.ruoyi.hualian.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

/**
 * OEE数据报表返回对象
 *
 * @author hujian
 */
@Data
public class ResultExcelOee {

    @Excel(name = "车间/产线")
    @ExcelProperty("车间/产线")
    private String workshopProductionLine;

    @Excel(name = "车间")
    @ExcelProperty("车间")
    private String workshop;

    @Excel(name = "产线")
    @ExcelProperty("产线")
    private String productionLine;

    @Excel(name = "日期")
    @ExcelProperty("日期")
    private String date;

    @Excel(name = "第几周")
    @ExcelProperty("第几周")
    private Integer weekNum;

    @Excel(name = "报工数量")
    @ExcelProperty("报工数量")
    private String jobNum;

    @Excel(name = "绿灯时长")
    @ExcelProperty("绿灯时长")
    private String greenLightDuration;

    @Excel(name = "黄灯时长")
    @ExcelProperty("黄灯时长")
    private String yellowLightDuration;

    @Excel(name = "绿灯/报工")
    @ExcelProperty("绿灯/报工")
    private String greenLightJobNum;

    @Excel(name = "黄灯/报工")
    @ExcelProperty("黄灯/报工")
    private String yellowLightJobNum;



    public ResultExcelOee(String jobNum, String greenLightDuration, String yellowLightDuration) {
        this.jobNum = jobNum;
        this.greenLightDuration = greenLightDuration;
        this.yellowLightDuration = yellowLightDuration;
    }
}
